From ec134c075f5f72010802f00f063fec396f3ec1b8 Mon Sep 17 00:00:00 2001 From: Kunal Mehta Date: Tue, 8 Mar 2016 11:11:06 -0800 Subject: [PATCH] initSiteStats.php: Make it obvious you need to use --update Otherwise people will run the script a few times and be totally confused as to why their statistics aren't being saved. The wording is taken from updateArticleCount.php, which has a similar parameter. Change-Id: I802553120c1bf4d8f6234ccced5f19ecd5cd9b66 --- maintenance/initSiteStats.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/maintenance/initSiteStats.php b/maintenance/initSiteStats.php index 7e62b89f48..b2530ce653 100644 --- a/maintenance/initSiteStats.php +++ b/maintenance/initSiteStats.php @@ -63,6 +63,9 @@ class InitSiteStats extends Maintenance { $this->output( "\nUpdating site statistics..." ); $counter->refresh(); $this->output( "done.\n" ); + } else { + $this->output( "\nTo update the site statistics table, run the script " + . "with the --update option.\n" ); } if ( $this->hasOption( 'active' ) ) { -- 2.20.1